Skip to content

Parallelize Flow in CI#20794

Merged
acdlite merged 2 commits intofacebook:masterfrom
acdlite:parallel-flow
Feb 10, 2021
Merged

Parallelize Flow in CI#20794
acdlite merged 2 commits intofacebook:masterfrom
acdlite:parallel-flow

Conversation

@acdlite
Copy link
Copy Markdown
Collaborator

@acdlite acdlite commented Feb 10, 2021

We added more host configs recently, and we run all the checks in sequence, so sometimes Flow ends up being the slowest CI job.

This splits the job across multiple processes.

We added more host configs recently, and we run all the checks in
sequence, so sometimes Flow ends up being the slowest CI job.

This splits the job across multiple processes.
@acdlite acdlite requested a review from rickhanlonii February 10, 2021 22:23
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Feb 10, 2021
@sizebot
Copy link
Copy Markdown

sizebot commented Feb 10, 2021

Comparing: eee874c...32f44b9

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 122.22 kB 122.22 kB = 39.36 kB 39.36 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 128.81 kB 128.81 kB = 41.39 kB 41.39 kB
facebook-www/ReactDOM-prod.classic.js = 404.97 kB 404.97 kB = 75.14 kB 75.14 kB
facebook-www/ReactDOM-prod.modern.js = 393.32 kB 393.32 kB = 73.23 kB 73.24 kB
facebook-www/ReactDOMForked-prod.classic.js = 404.98 kB 404.98 kB = 75.14 kB 75.14 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 32f44b9

Comment thread scripts/tasks/flow-ci.js
const rendererInfo = inlinedHostConfigs[i];
if (rendererInfo.isFlowTyped) {
await runFlow(rendererInfo.shortName, ['check']);
console.log();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental?

Suggested change
console.log();

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was already there, I assume to add spacing

Comment thread scripts/tasks/flow-ci.js Outdated
Co-authored-by: Ricky <rickhanlonii@gmail.com>
@acdlite acdlite merged commit 9e9be6c into facebook:master Feb 10, 2021
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
* Parallelize Flow in CI

We added more host configs recently, and we run all the checks in
sequence, so sometimes Flow ends up being the slowest CI job.

This splits the job across multiple processes.

* Fix environment variable typo

Co-authored-by: Ricky <rickhanlonii@gmail.com>

Co-authored-by: Ricky <rickhanlonii@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants